package controller;

import view.UI;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class PlayButtonLister implements ActionListener {
    private JLabel noPlayLabel;
    public PlayButtonLister(JLabel noPlayLabel){
        this.noPlayLabel=noPlayLabel;
    }
    @Override
    public void actionPerformed(ActionEvent e) {
        UI.enterGameJFrame.enterGameJPanel.noPlayLabel.setText("不出");
    }
}
